package com.hccl.mongoEntities;

import org.bson.types.ObjectId;
import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.Id;

import java.util.List;
import java.util.Map;

/**
 * Created by xjzhang on 2017/11/17.
 */
@Entity(value = "apiList", noClassnameStored = true)
public class APIsEntity {

    @Id
    ObjectId id;
    String name;
    Map<String,String> input;
    String functionName;
    List<String> output;
    String runtime;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Map<String,String> getInput() {
        return input;
    }

    public void setInput(Map<String,String> input) {
        this.input = input;
    }

    public String getFunctionName() {
        return functionName;
    }

    public void setFunctionName(String functionName) {
        this.functionName = functionName;
    }

    public List<String> getOutput() {
        return output;
    }

    public void setOutput(List<String> output) {
        this.output = output;
    }

    public String getRuntime() {
        return runtime;
    }

    public void setRuntime(String runtime) {
        this.runtime = runtime;
    }
}
